package com.oa.gform.client.ui;

import com.google.gwt.user.client.Command;
import com.oa.gform.client.ui.datamodel.GDataSourceParam;
import com.oa.gform.client.ui.datasource.GDataSource;

public interface HasGDatasource<BeanType> {
	void setGDatasource(GDataSource<BeanType> datasource);
	GDataSource<BeanType> getGDatasource();
	abstract void loadData(GDataSourceParam param);
	abstract void loadData();
	abstract void loadData(GDataSourceParam param, Command callback);
	abstract void addLoadDataListener(Command callback);
	
}
